import { IsNotEmpty } from 'class-validator';

export class CreateAcrossDto {
  @IsNotEmpty({ message: 'btName不能为空' })
  btName: string;
  @IsNotEmpty({ message: 'acrossName不能为空' })
  acrossName: string;
  @IsNotEmpty({ message: 'acrossX不能为空' })
  acrossX: number;
  @IsNotEmpty({ message: 'acrossY不能为空' })
  acrossY: number;
  @IsNotEmpty({ message: 'controlHeight不能为空' })
  controlHeight: number;
  remark?: string;
  zoneId: number;
  betId: number;
}
